#ifndef VSDLODTERRAINNODE_H
#define VSDLODTERRAINNODE_H
#include "VSTerrainNode.h"
namespace VSEngine2
{
	class VSGRAPHIC_API VSDLodTerrainNode : public VSTerrainNode
	{
		//PRIORITY
		
		//RTTI
		DECLARE_RTTI;
		DECLARE_INITIAL
	public:
		
		VSDLodTerrainNode();
		virtual ~VSDLodTerrainNode();
	public:
		inline void SetExtend(int uiExtend)
		{
			m_uiExtend = uiExtend;
		}
		inline int GetExtend()const
		{
			return m_uiExtend;
		}

		inline void SetScale(VSREAL fScale)
		{
			m_fScale = fScale;
		}

		inline VSREAL GetScale()const {return m_fScale;}
		
	protected:
		int m_uiExtend;
		VSREAL m_fScale;
		virtual bool CreateChild();
		virtual void UpdateNodeAll(double dAppTime);
	public:
		
	};
	DECLARE_Ptr(VSDLodTerrainNode);
	VSTYPE_MARCO(VSDLodTerrainNode);


}
#endif